<?php

namespace addons\zzyy\controller\api;


use think\Db;

class Test extends \app\common\controller\Api
{
    protected $noNeedLogin = ['*'];

    //

    public function testYundingElemetor()
    {
//        $homeId = '647c4a905dba7275b0d68c4f';
//        $uuid = '8aa527156a284b54411ceb9ea9d84031';
//        $yunding = new \addons\zzyy\library\Yunding();
//        $elem = $yunding->elemeterSwitchOff($homeId, $uuid);
//        $elem = $yunding->isElemeterSwitchOn($homeId, $uuid);
//
//
//        var_dump($elem);
    }

    public function step1()
    {
        sleep(1);
        $this->success('ok');
    }

    public function step2()
    {
        sleep(1);
        $this->success('ok');
    }

    public function step3()
    {
        sleep(1);
        $this->success('ok');
    }

    public function step4()
    {
        sleep(1);
        $this->success('ok');
    }

}
